package main

import "fmt"

var container = []string{"zero", "one", "two"}

//
func main() {
	container := map[int]string{0: "zero", 1: "one", 2: "two"}
	fmt.Printf("The element is %q.\n", container[1])

	//类型断言
	value, ok := interface{}(container).([]string)
	if ok {
		fmt.Printf("The element is %q.\n", value[1])
	}

	//var srcInt = int16(-255)
	//dstInt=1
	//dstInt := int8(srcInt)
}